aux_source_directory(${PROJECT_SOURCE_DIR}/src/http http_src)
message("${http_src}")
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} test_src)
foreach(item ${test_src})
string(REGEX MATCH ".*[/\\](.*).cpp$" item_src ${item})
add_executable(${CMAKE_MATCH_1} ${item} ${http_src})
#mpeg和flv 为media中的两个库
target_link_libraries(${CMAKE_MATCH_1} jsoncpp_static ZLToolKit_static aws-cpp-sdk-s3 aws-cpp-sdk-core)
endforeach()